Optimal. Leaf size=66 \[ b^2 (b B+3 A c) x+\frac {3}{2} b c (b B+A c) x^2+\frac {1}{3} c^2 (3 b B+A c) x^3+\frac {1}{4} B c^3 x^4+A b^3 \log (x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 66, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {779}
\begin {gather*} A b^3 \log (x)+b^2 x (3 A c+b B)+\frac {1}{3} c^2 x^3 (A c+3 b B)+\frac {3}{2} b c x^2 (A c+b B)+\frac {1}{4} B c^3 x^4 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 779
Rubi steps
\begin {align*} \int \frac {(A+B x) \left (b x+c x^2\right )^3}{x^4} \, dx &=\int \left (b^2 (b B+3 A c)+\frac {A b^3}{x}+3 b c (b B+A c) x+c^2 (3 b B+A c) x^2+B c^3 x^3\right ) \, dx\\ &=b^2 (b B+3 A c) x+\frac {3}{2} b c (b B+A c) x^2+\frac {1}{3} c^2 (3 b B+A c) x^3+\frac {1}{4} B c^3 x^4+A b^3 \log (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 63, normalized size = 0.95 \begin {gather*} \frac {1}{12} x \left (12 b^3 B+18 b^2 c (2 A+B x)+6 b c^2 x (3 A+2 B x)+c^3 x^2 (4 A+3 B x)\right )+A b^3 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.49, size = 70, normalized size = 1.06
method | result | size |
default | \(\frac {B \,c^{3} x^{4}}{4}+\frac {A \,c^{3} x^{3}}{3}+B b \,c^{2} x^{3}+\frac {3 A b \,c^{2} x^{2}}{2}+\frac {3 B \,b^{2} c \,x^{2}}{2}+3 A \,b^{2} c x +B \,b^{3} x +A \,b^{3} \ln \left (x \right )\) | \(70\) |
risch | \(\frac {B \,c^{3} x^{4}}{4}+\frac {A \,c^{3} x^{3}}{3}+B b \,c^{2} x^{3}+\frac {3 A b \,c^{2} x^{2}}{2}+\frac {3 B \,b^{2} c \,x^{2}}{2}+3 A \,b^{2} c x +B \,b^{3} x +A \,b^{3} \ln \left (x \right )\) | \(70\) |
norman | \(\frac {\left (\frac {1}{3} A \,c^{3}+B b \,c^{2}\right ) x^{6}+\left (\frac {3}{2} A b \,c^{2}+\frac {3}{2} B \,b^{2} c \right ) x^{5}+\left (3 A \,b^{2} c +B \,b^{3}\right ) x^{4}+\frac {B \,c^{3} x^{7}}{4}}{x^{3}}+A \,b^{3} \ln \left (x \right )\) | \(76\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 68, normalized size = 1.03 \begin {gather*} \frac {1}{4} \, B c^{3} x^{4} + A b^{3} \log \left (x\right ) + \frac {1}{3} \, {\left (3 \, B b c^{2} + A c^{3}\right )} x^{3} + \frac {3}{2} \, {\left (B b^{2} c + A b c^{2}\right )} x^{2} + {\left (B b^{3} + 3 \, A b^{2} c\right )} x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.42, size = 68, normalized size = 1.03 \begin {gather*} \frac {1}{4} \, B c^{3} x^{4} + A b^{3} \log \left (x\right ) + \frac {1}{3} \, {\left (3 \, B b c^{2} + A c^{3}\right )} x^{3} + \frac {3}{2} \, {\left (B b^{2} c + A b c^{2}\right )} x^{2} + {\left (B b^{3} + 3 \, A b^{2} c\right )} x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.07, size = 73, normalized size = 1.11 \begin {gather*} A b^{3} \log {\left (x \right )} + \frac {B c^{3} x^{4}}{4} + x^{3} \left (\frac {A c^{3}}{3} + B b c^{2}\right ) + x^{2} \cdot \left (\frac {3 A b c^{2}}{2} + \frac {3 B b^{2} c}{2}\right ) + x \left (3 A b^{2} c + B b^{3}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.68, size = 70, normalized size = 1.06 \begin {gather*} \frac {1}{4} \, B c^{3} x^{4} + B b c^{2} x^{3} + \frac {1}{3} \, A c^{3} x^{3} + \frac {3}{2} \, B b^{2} c x^{2} + \frac {3}{2} \, A b c^{2} x^{2} + B b^{3} x + 3 \, A b^{2} c x + A b^{3} \log \left ({\left | x \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.03, size = 63, normalized size = 0.95 \begin {gather*} x\,\left (B\,b^3+3\,A\,c\,b^2\right )+x^3\,\left (\frac {A\,c^3}{3}+B\,b\,c^2\right )+\frac {B\,c^3\,x^4}{4}+A\,b^3\,\ln \left (x\right )+\frac {3\,b\,c\,x^2\,\left (A\,c+B\,b\right )}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________